package com.cxxx.guns.modular.backend.service.impl;

import com.cxxx.guns.modular.backend.model.Image;
import com.cxxx.guns.modular.backend.dao.ImageMapper;
import com.cxxx.guns.modular.backend.service.IImageService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author cczhng
 * @since 2018-09-15
 */
@Service
public class ImageServiceImpl extends ServiceImpl<ImageMapper, Image> implements IImageService {

    @Override
    public List<Image> imgageList(int category, int num) {
        return this.baseMapper.imageList(category,num);
    }
}
